// 应用一个全局的变量
@import "../../../assets/less/global_style";

#phaseControl {
  .equal-size();
  .title {
    height: 50px;;
    margin-bottom: 10px;
    font: @font22;
    font-weight: 600;
    line-height: 50px;
    text-align: center;
  }

  .content {
    height: calc(~"100% - 60px");
    overflow: hidden;
    &>div {
      height: 100%;
      width: calc(~"50% - 10px");
      margin: 0 5px;
    }
    .left {
      float: left;
      position: relative;
      div {
        position: absolute;
        width: 70%;
        height: 70%;
        background-color: @bkBlue;
      }
    }
    .right {
      float: right;
      form {
        margin-bottom: 20px;
        fieldset {
          min-width: 100%;
          border: @lineGray;
          padding: 20px;
          legend {
            width: fit-content;
            border-bottom: none;
            margin-bottom: 0;
          }
        }
      }
      form:nth-child(1) {
        fieldset {
          height: fit-content;
          label {
            width:calc(~"50% - 40px");
            margin: 5px 0 5px 20px;
            padding: 0;
          }
          div {
            margin-top: 5px;
            span {
              width: 100%;
            }
            select {
              height: 30px;
              width: auto;
              margin-left: 20px;
              display: inline-block;
            }
          }
        }
      }
      form:nth-child(2) {
        label {
          width: calc(~"33% - 15px");
        }
      }
      form:nth-child(3) {
        .form-group {
          width: calc(~"50% - 20px");
          display: inline-block;
          input {
            height: 30px;
            display: inline-block;
            width: calc(~"100% - 120px");
          }
          label {
            width: 100px;
            margin-left: 10px;
            font-weight: 500;
          }
        }
      }
      .describes {
        p {
          height: 30px;
          font-size: 14px;
          span:nth-child(2) {
            font-size: 12px;
            color: @fontGray;
            margin-left: 10px;
          }
        }
      }
      .buttons {
        margin-top: 40px;
        height: calc(~"30% - 40px");
        text-align: right;
        button {
          margin-right: 20px;
        }
      }
    }
  }
}